/* 图标库 */
@import '//at.alicdn.com/t/font_2088775_dvkem1egs6.css';

html,
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul {
    margin: 0;
    list-style: none;
}

i {
    font-style: normal;
}

html {

    overflow-x: auto;
    background-color: transparent;
}

body {
    background-color: transparent;
}

/* 字体 */
/* @font-face {
    font-family: Microsoft YaHei;
    src: url("../fonts/Microsoft YaHei.ttc");
} */

/* 子页面标题 */
.page-title {
    font-size: 22px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #222222;
    margin-bottom: 38px;
}

.page-title-input {
    background-color: white;
    margin-left: 54px;
}

/* 子页面-容器 */
.page-wrapper {
    background: #FFFFFF;
    box-shadow: 0px 0px 13px 0px rgba(0, 94, 174, 0.13);
    border-radius: 7px;
    width: 100%;
    padding: 27px 22px;
    box-sizing: border-box;
    margin-bottom: 47px;
}

/* 表单组件 */
input,
button,
textarea {
    border: none;
    outline: none;
    background: none;
}

input {
    height: 44px;
    box-sizing: border-box;
}

input,
textarea {
    border: 1px solid #D2D2D2;
    border-radius: 7px;
    padding: 16px 25px;
    font-size: 14px;
    transition: all .15s linear;
    box-sizing: border-box;
}

input:focus {
    border-color: rgba(0, 93, 173, .5);
    /* box-shadow: 0 0px 12px -1px #005DAD */
}

textarea::placeholder,
input::placeholder {
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #999999;
}

/* 谷歌 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* 火狐 */
input {
    -moz-appearance: textfield;
}

/* button */
button {
    padding: 0 15px !important;
    text-align: center;
    color: white;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    line-height: 40px;
}

button.normal {
    border-color: #D3D3D3;
    color: #D3D3D3;
}

button[border] {

    border: 1px solid #D3D3D3;
}

button:active::after {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    content: ' ';
    background-color: rgba(0, 0, 0, .3);
}

button.primary {

    background-color: #3084EB;
    border-color: white;
}

button.default {
    background-color: #005DAD;
    border-color: white;
}

button.empty {
    color: black;
    background: #FFFFFF;
    border: 1px solid #E4E2E2;
}

button.default .iconfont {
    color: white;
    font-size: 18px;
}

button.warn {
    background-color: #FF4C0E;
}

button[block] {
    display: block;
    width: 100%;
}

button[text] {
    background-color: transparent;
    color: black;
}

td button {
    height: 35px;
    line-height: 35px;
}

/* input */
.form-item[error] input {
    border-color: red;
    position: relative;
}

.form-item[error]::after {
    content: 'error';
    color: red;
    font-size: 14px;
    display: block;
    text-align: right;
    opacity: 1;
}


/* switch */
.switch {
    width: 74px;
    height: 35px;
    background: #2BA3DF;
    border-radius: 18px;
    padding: 6px;
    box-sizing: border-box;
    align-items: center;
    position: relative;
    display: flex;
    transition: all .15s linear;
    cursor: pointer;
    margin: 0 auto;
}

.switch .controls {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    /* position: absolute;
    top: 50%;
    transform: translateY(-50%); */
    transition: all .15s linear;


}

.switch.close {
    background-color: white;
    border: 1px solid #D2D2D2;
    justify-content: flex-start;
    float: unset;
}

.switch.open {
    background-color: #2BA3DF;
    justify-content: flex-end;
}

.switch.close .controls {
    background-color: #D2D2D2;
}

.switch.open .controls {
    background-color: white;
    right: 6px;
}

.switch.open .controls::before {
    content: attr(open);
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
    display: inline-block;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
}

.switch.close .controls::after {
    content: attr(close);
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #666666;
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
}

/* ====== */
/* ===选择框=== */
[select] {
    position: relative;
}

[select]::after {
    content: '\25BC';
    float: right;
    vertical-align: middle;

}

/*==== checkbox==== */
input[type="checkbox"] {
    position: relative;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

input[type="checkbox"]::after {
    position: absolute;
    width: 15px;
    height: 15px;
    content: url('../img/checkbox.png');

}

input[type="checkbox"]:checked::after {
    position: absolute;
    width: 15px;
    height: 15px;
    content: url('../img/check-box-select.png');

}

/* ===radio=== */
.radio-box {
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
    cursor: pointer;
}

.radio-box input {
    vertical-align: middle;
    margin-right: 5px;
}

input[type="radio"]+span::before {
    content: "\a0";
    /*不换行空格*/
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    width: 1em;
    height: 1em;
    margin-right: .4em;
    border-radius: 50%;
    border: 1px solid #D3D3D3;
    line-height: 1;
    transition: all .15s linear;
}

input[type="radio"]:checked+span::before {
    background-color: #1A88CA;
    border-color: #1A88CA;
    background-clip: content-box;
    padding: .15em;
    padding-right: .17rem;
    transform: translateX(-.1em);
}

input[type="radio"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

/* 表格 */
thead {
    background-color: #005DAD;
}

thead th {
    text-align: center;

}

table {
    background-color: white;
    box-shadow: 0px 0px 13px 0px rgba(0, 93, 173, 0.13);
    border-radius: 7px;
    color: white;
    table-layout: fixed;
}

table,
tr,
td,
th {
    border-color: rgba(221, 221, 221, .3) !important;
}

th,
td {
    /* width: 90px !important; */
    text-align: center;
}

td {
    color: black;
    text-align: center;
    padding-top: 20px;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: 400;
}

td button:not(:last-child) {
    margin-right: 10px;
}

/* ====模态框==== */
.my-modal {
    padding: 22px 40px;
    background: #FFFFFF;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.21);
    border-radius: 7px;
    display: inline-block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleZ(1);
    transition: all .25s linear;
}

/* .my-modal.show {
    transform: translate(-50%, -50%) scaleZ(1);
} */

.my-modal.success .iconfont {
    color: #2BA3DF;
}

/* 模态框-图片==== */
.my-modal .iconfont {
    font-size: 32px;
    margin-right: 47px;
    vertical-align: middle;
}

.my-modal .content {
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #343434;
}

/* 分页 */
.pagination-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pagination-box span {

    font-size: 12px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #666666;
}

.pagination-box ul {
    margin: 0 16px;
}

.pagination-box .pagination li a {
    width: 45px;
    text-align: center;
    margin: 0 3.5px;
    cursor: pointer;
}

.pagination-box .pagination-jump {
    display: flex;
    align-items: center;

}

.pagination-box .pagination-jump input {
    width: 45px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: white;
    border: 1px solid #D5D5D5;
    border-radius: 3px;
    color: black;
    padding: 0;
    margin: 0 20px;
}

/* 上传图片 */
.upload {
    width: 86px;
    height: 86px;
    border: 1px dashed black;
    background-color: rgb(247, 247, 247);
    cursor: pointer;
    position: relative;
}

.upload:hover {
    opacity: .5;
}

.upload::before {
    content: "+";
    font-size: 48px;
    font-weight: bolder;
    color: lightgray;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 86px;
    width: 100%;
}

.upload input {
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    position: relative;
    z-index: 1;
}



/* 栅格 */

.page-row>div:first-child {
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #222222;
    line-height: 44px;
    text-align: center;
    height: 44px;
}

.page-row>div:last-child {
    text-align: left;
}



.page-row {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 47px;
    max-width: 1200px;
    padding-right: 10px;
    box-sizing: border-box;
}

.page-row[top] {
    align-items: flex-start;
}

.page-row .flex-col-md-1 {
    width: 10%;
}

.page-row .flex-col-md-2 {
    width: 20%;
}

.page-row .flex-col-md-3 {
    width: 30%;
}

.page-row .flex-col-md-4 {
    width: 40%;
}

.page-row .flex-col-md-5 {
    width: 50%;
}

.page-row .flex-col-md-6 {
    width: 60%;
}

.page-row .flex-col-md-7 {
    width: 70%;
}

.page-row .flex-col-md-8 {
    width: 80%;
}

.page-row .flex-col-md-9 {
    width: 90%;
}

.page-row .flex-col-md-10 {
    width: 100%;
}

.page-row textarea {
    width: 100%;
}

.page-row input[type="text"],
.page-row input[type="password"],
.page-row textarea,
.my-form button {
    width: 100%;
}

.page-row div.input-tag input {
    width: 60%;
    display: inline-block;
}

.check-del {
    margin-top: 70px;
}

/* .layui-layer-btn {
    text-align: left;
} */
@media (min-width:768px) {
    .mobile {
        display: none !important;
    }
}

@media (max-width:767px) {
    .pc {
        display: none !important;
    }

    .check-del {
        display: none;
    }

    /* 模态框 */
    .my-modal .iconfont {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    /* 移动端表格-卡片式 */
    .card-view,
    .card-views {
        margin-bottom: 10px;
    }

    .card-view-title {
        width: 30% !important;
    }

    .card-view-value {
        text-align: center;
        width: 70%;
    }

    .pagination-box {
        flex-direction: column;
    }
}